<!--
 * @Author: C.
 * @Date: 2021-06-16 10:08:27
 * @LastEditTime: 2021-06-16 10:13:35
 * @Description: file content
-->
<template>
  <div id="app">
    <JvColBtn type="ok"></JvColBtn>
    <JvTable :data="tableData"
             @selectionChange="handleSelectionChange"
             ref="BillTable"
             jvKey="BillId">
      <el-table-column prop="BillId"
                       label="单据编号"
                       width="100"></el-table-column>
      <el-table-column prop="companyName"
                       label="公司名称"
                       width="100"></el-table-column>
    </JvTable>
  </div>
</template>

<script>
import JvColBtn from "./Jv_cpn/JvColBtn";
import JvTable from "./Jv_cpn/JvTable";
export default {
  name: 'App',
  data () {
    return {
      tableData: [
        {
          BillId: '1',
          companyName: '上海皆唯'
        },
        {
          BillId: '2',
          companyName: '腾讯'
        },
        {
          BillId: '3',
          companyName: '字节跳动'
        },
      ]
    }
  },
  components: {
    JvColBtn,
    JvTable
  }
}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
